package com.cangxuan.backend.entity;

import lombok.Data;

import java.io.Serializable;

/**
 * 用户实体类
 */
@Data
public class User implements Serializable {

    private Integer id;
    private String mobile;
    private String nickname;
    private String face;
    private String transPassword;
    private String realName;
    private String idcard;
    private String blockchainAddress;
    private String regTime;
    private boolean subscribeToTheSalesCalendar;
    private boolean displayMyGoods;
    private boolean displayMySellGoods;
    private boolean available;
    private String registrationId;

    public User() {
    }

    public User(String mobile , String nickname, String face) {
        this.mobile = mobile;
        this.nickname = nickname;
        this.face = face;
    }
}
